package com.sqsf.javabean;

public class User {
    int uid;
    String password;
    String username;

    String phone;

    public Role getR() {
        return r;
    }

    public void setR(Role r) {
        this.r = r;
    }

    @Override
    public String toString() {
        return "User{" + "uid=" + uid + ", password='" + password + '\'' + ", username='" + username + '\'' + ", phone='" + phone + '\'' + ", r=" + r + '}';
    }

    private Role r;

    public User(int uid, String password, String username, String phone) {
        this.uid = uid;
        this.password = password;
        this.username = username;
        this.phone = phone;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

}